<?php

namespace app\api\validate;

use think\Validate;

class MiniAppletLogin extends Validate
{
    protected $rule = [
        "code" => "require",
        "nickname" => "require",
        "photo" => "require",
    ];

    protected $message = [
        'code.require' => '缺少参数：code',
        'nickname.require' => '缺少参数：nickname',
        'photo.require' => '缺少参数：photo',
    ];

}